//
//  DialerViewController.h
//  HandyDialer
//
//	Developed by Team Synergy
//  Created by Jordan Tseng on 10/29/11.
//  Coders: Jacky Li and Jordan Tseng 
//  Graphic Designer: Derek Fong
//  Developers: Brad Lisson, Derek Fong, Jacky Li, Jeremy Gangoso, Jordan Tseng
//  Copyright HandyDialer 2011. All rights reserved.
//
//  Class Descrption: A replacement for the stocked dialer provided by iphone.
//  
//  Member Variables:
//  int row     
//      -   rows in which the highlight move in
//  int column 
//      -   column in which the highlight move in
//  int iterationCounter
//      -   dictates when the highlighting should time out
//  bool buttonSelect
//      - true when button selected, false when it is not.
//  NSString *number
//      - Where the numbers are stored when pressed
//  NSTimer *uniTimer    
//      - Highlighting done in seconds
//  NSString *highlightColor
//      - type of color highligh is done in
//  NSString *themeColor
//      - type of theme for the whole application
//  Member functions:
//  + (IBAction)switchView:(id)sender
//              - Actually switching to that screen 
//  + (void)highlightChange:(NSString *)picture;
//              - decides which row to highlight
//  + (void)appendNum:(int)input
//              - the process of appending the number in "number"
//  + (NSString *)parseNum:(NSString *)num
//              - append '-' as necessary
//  + (void)buttonchoice
//              - the process of making sure the button is pressed
//  + (void)uniTimerVoid
//              - Decides which screen to go to
//
//	Bugs (unfixed):
//				None found so far
//
//	Unfinished Features:
//				None
//
#import <UIKit/UIKit.h>
#import "InvalidInputViewController.h"

@interface DialerViewController : UIViewController 
{
	int rowCounter;
	int columnCounter;
	int iterationCounter;
    int numberLength;
	bool buttonSelect;
	NSTimer *uniTimer;
    NSString *number;
    NSUserDefaults *defaults;
	float speed;
	NSString *highlightColor;
	NSString *themeColor;
    IBOutlet UILabel *callNumber;
	IBOutlet UIImageView *highlightArea;
	IBOutlet UIImageView *backgroundArea;
}

- (IBAction)switchView:(id)sender;


- (void)highlightChange:(NSString *)picture;

- (void)appendNum:(int)input;
- (NSString *)parseNum:(NSString *)num;
- (void)buttonChange;
- (void)rowChange;

@property (nonatomic, retain)UILabel *callNumber;
@property (nonatomic, retain)UIImageView *highlightArea;
@property (nonatomic, retain)UIImageView *backgroundArea;

@end
